package com.zzyl.job;

import com.zzyl.entity.AlertRule;
import com.zzyl.mapper.AlertDataMapper;
import com.zzyl.mapper.AlertRuleMapper;
import com.zzyl.service.AlertDataService;
import com.zzyl.utils.ObjectUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Description CommonMethod
 * @Author Hua Caoxing
 * @Data 2025-09-15
 */
@Component
public class CommonMethod {

    @Autowired
    private AlertRuleMapper alertRuleMapper;

    @Autowired
    private RedisTemplate redisTemplate;
    //查找超出规则的数据
    public void findAlertRule(){

        List<AlertRule> alertRules = alertRuleMapper.selectByFunctionId(null, null, null);




    }
}
